<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<div class="col-md-8 col-sm-10 ">
	<!-- 帖子列表 -->
	<div class="panel panel-default">
		<div class="panel-heading">用户登陆</div>
		<div class="panel-body">
			<form class="form-horizontal" action="${ctx }/user/reg" method="post">
				<div class="form-group">
					<label class="col-md-2 control-label">用户名:</label>
					<div class="col-md-10">
						<input type="text" class="form-control" id="username" name="username"
							placeholder="登陆BBS的用户名(10个中文字以内)">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-2 control-label">登陆密码:</label>
					<div class="col-md-10">
						<input type="password" class="form-control" id="password1" name="password1"
							placeholder="登陆BBS的密码(8-16位字母和数字的组合)">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-2 control-label">重复密码:</label>
					<div class="col-md-10">
						<input type="password" class="form-control" id="password2" name="password2"
							placeholder="重复输入登陆密码(8-16位字母和数字的组合)">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-2 control-label">电子邮箱:</label>
					<div class="col-md-10">
						<input type="text" class="form-control" id="email" name="email"
							placeholder="用于找回密码的电子邮箱">
					</div>
				</div>
				<div class="form-group">
					<label class="col-md-2 control-label">随机码:</label>
					<div class="col-md-5">
						<input type="text" class="form-control" id="inputRandomCode" name="inputRandomCode"
							placeholder="请填写右侧随机码">
					</div>
					<div class="col-md-5">
						<img src="${ctx }/img">
					</div>
				</div>
				<div class="text-center">
					<button type="submit" class="btn btn-default">提交注册</button>
					<button type="submit" class="btn btn-default">清空</button>
				</div>
			</form>
		</div>
	</div>
</div>